package jtk.project4.fleet.field;

//import jtk.project4.fleet.tireassigment.TireAssigmentView;
import nl.coderight.jazz.form.FormLayout;
import nl.coderight.jazz.form.control.GroupControl;
import nl.coderight.jazz.form.field.MemoField;
import nl.coderight.jazz.form.field.button.PushButton;
import nl.coderight.jazz.form.FormLayout.Align;

public class DescriptionOfActionField extends GroupControl{
	private MemoField DescArea;
	private PushButton CopyToClipboardField;
	

	public DescriptionOfActionField(String bindID){
		setTitle("header.identification");
		setBindID(bindID);
		createFields();
		createLayout();
	}
	
	private void createFields(){
		CopyToClipboardField = new PushButton("Copy To Clipboard");
		DescArea = new MemoField("");
		DescArea.setEditable(false);
		}
	private void createLayout() {
		// TODO Auto-generated method stub
		setLayout(new FormLayout())
		.addLabel("Description of Action")	.addField((CopyToClipboardField))
		.addRow()
		.addField(DescArea)
		;
	}
}
